package events
{
	import flash.events.Event;
	
	import spark.components.supportClasses.OverlayDepth;
	
	public class DoSearchEvent extends Event
	{
		public static var DO_SEARCH_EVENT:String = "doSearchEvent";	
		public var searchedText:String;
		public var startIndex:Number;
		
		public function DoSearchEvent(searchedText:String,startIndex:Number = 1)
		{
			super(DO_SEARCH_EVENT,true,false);
			this.searchedText = searchedText;
			this.startIndex = startIndex;
		}
		
		override public function clone() : Event
		{
			return new DoSearchEvent(searchedText,startIndex);
		}

	}
}